<?php 
header("Content-Type: text/html"); 
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");  

$codigo_html = "";
$codigo_html .= "\n<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">";
$codigo_html .= "\n<html xmlns=\"http://www.w3.org/1999/xhtml\">";
$codigo_html .= "\n<head>";
$codigo_html .= "\n<title>";
$codigo_html .= $title_for_layout;
$codigo_html .= "\n</title>";
$codigo_html .= $html->charset('UTF-8');
$codigo_html .= "\n<link rel='icon' href='" . $this->webroot . "favicon.ico' type='image/x-icon'/>";
$codigo_html .= "\n<link rel='shortcut icon' href='" . $this->webroot . "favicon.ico' type='image/x-icon'/>";

$codigo_html .= $html->css(array("movimientos.imprimir.screen"), null, array("media"=>"all"));

$codigo_html .= "\n</head>";

$codigo_html .= "\n<body>";
$codigo_html .= $presentacion->redondearEsquinas("inicio");

$codigo_html .= $content_for_layout;

$codigo_html .= $cakeDebug;
$codigo_html .= $presentacion->redondearEsquinas("fin");
$codigo_html .= "\n</body>";
$codigo_html .= "\n</html>";
echo $codigo_html;
?>